package tests

import (
	"github.com/goravel/framework/testing"
	"github.com/stretchr/testify/suite"

	"goravel/bootstrap"
)

func init() {
	bootstrap.Boot()
}

type TestCase struct {
	suite.Suite
	testing.TestCase
}

func (testCase *TestCase) TestIndex() {
	response, err := testCase.Http(testCase.T()).Get("/users/1")
	testCase.Nil(err)
	response.AssertStatus(200)
}
